package com.have.blog.admin.redis;

import com.have.blog.model.models.SysParams;

import java.util.concurrent.TimeUnit;

public interface AdminSystemParamCacheService {
    SysParams getSystemParamByParamKey(String paramKey);
    void saveSystemParamByParamKey(SysParams data, String paramKey, long expiration, TimeUnit timeUnit);
    void delSystemParamByParamKey(String paramKey);
}
